package com.blazer.a;

import java.util.Scanner;

public class ifdemo03 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int year=scanner.nextInt();
        if((year%4==0&&year%100!=0)||year%400==0){
            System.out.println("闰年2月29天");
        }else{
            System.out.println("平年28天");
        }
    }
}
